﻿﻿@model WebApp.Models.RECEIPTDETAIL
<!-- begin master section -->
<div  class="main-form">
<!--begin receiptdetail form  -->
<form id="receiptdetail_form" method="post" novalidate="novalidate" >
@Html.AntiForgeryToken()
   @Html.HiddenFor(x=>x.ID)
 <fieldset>
 <div class="form-group form-group-sm">
      <div class="row">

        <!--收货单号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.RECEIPTKEY)</span> </label>
			@Html.EditorFor(x => x.RECEIPTKEY, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.RECEIPTKEY) } })
      
         </div>

        <!--批次号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.EXTERNRECEIPTKEY) </label>
			@Html.EditorFor(x => x.EXTERNRECEIPTKEY, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.EXTERNRECEIPTKEY) } })
      
         </div>

        <!--订单编号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.POKEY) </label>
			@Html.EditorFor(x => x.POKEY, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.POKEY) } })
      
         </div>

       <!--收货单日期-->
       <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.RECEIPTDATE)</span> </label>
            <div class="input-group">
			  @Html.EditorFor(x => x.RECEIPTDATE, 
                         new { htmlAttributes = new { @class = "form-control datepicker hasDatepicker",
                               placeholder = Html.DisplayNameFor(x => x.RECEIPTDATE ) } })
               <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
			 </div>
         </div>

        <!--仓库号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.WHSEID)</span> </label>
			@Html.EditorFor(x => x.WHSEID, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.WHSEID) } })
      
         </div>

        <!--工厂名称-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE1) </label>
			@Html.EditorFor(x => x.LOTTABLE1, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.LOTTABLE1) } })
      
         </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

        <!--公司名称-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE2) </label>
			@Html.EditorFor(x => x.LOTTABLE2, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.LOTTABLE2) } })
      
         </div>

        <!--货主-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.STORERKEY)</span> </label>
			@Html.EditorFor(x => x.STORERKEY, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.STORERKEY) } })
      
         </div>

        <!--行号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.RECEIPTLINENUMBER)</span> </label>
			@Html.EditorFor(x => x.RECEIPTLINENUMBER, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.RECEIPTLINENUMBER) } })
      
         </div>

        <!--物料编号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.SKU)</span> </label>
			@Html.EditorFor(x => x.SKU, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.SKU) } })
      
         </div>

        <!--物料名称-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.SKUNAME) </label>
			@Html.EditorFor(x => x.SKUNAME, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.SKUNAME) } })
      
         </div>

        <!--供应商物料编号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.ALTSKU) </label>
			@Html.EditorFor(x => x.ALTSKU, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.ALTSKU) } })
      
         </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

        <!--状态-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.STATUS) </label>
			@Html.EditorFor(x => x.STATUS, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.STATUS) } })
      
         </div>

        <!--供应商代码-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.SUPPLIERCODE) </label>
			@Html.EditorFor(x => x.SUPPLIERCODE, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.SUPPLIERCODE) } })
      
         </div>

        <!--供应商名称-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.SUPPLIERNAME) </label>
			@Html.EditorFor(x => x.SUPPLIERNAME, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.SUPPLIERNAME) } })
      
         </div>

       <!--收货日期-->
       <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.DATERECEIVED) </label>
            <div class="input-group">
			  @Html.EditorFor(x => x.DATERECEIVED, 
                         new { htmlAttributes = new { @class = "form-control datepicker hasDatepicker",
                               placeholder = Html.DisplayNameFor(x => x.DATERECEIVED ) } })
               <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
			 </div>
         </div>

		<!--预收量-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.QTYEXPECTED)</span> </label>
            @Html.EditorFor(x => x.QTYEXPECTED, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.QTYEXPECTED) } })

        </div>

		<!--件数-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.CASECNT)</span> </label>
            @Html.EditorFor(x => x.CASECNT, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.CASECNT) } })

        </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

		<!--栈板数-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.PALLET)</span> </label>
            @Html.EditorFor(x => x.PALLET, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.PALLET) } })

        </div>

		<!--调整量-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.QTYADJUSTED)</span> </label>
            @Html.EditorFor(x => x.QTYADJUSTED, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.QTYADJUSTED) } })

        </div>

		<!--拒收量-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.QTYREJECTED)</span> </label>
            @Html.EditorFor(x => x.QTYREJECTED, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.QTYREJECTED) } })

        </div>

		<!--已收量-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.QTYRECEIVED)</span> </label>
            @Html.EditorFor(x => x.QTYRECEIVED, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.QTYRECEIVED) } })

        </div>

        <!--单位-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.UMO)</span> </label>
			@Html.EditorFor(x => x.UMO, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.UMO) } })
      
         </div>

        <!--包装-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.PACKKEY) </label>
			@Html.EditorFor(x => x.PACKKEY, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.PACKKEY) } })
      
         </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

		<!--毛重(KG)-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.GROSSWGT)</span> </label>
            @Html.EditorFor(x => x.GROSSWGT, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.GROSSWGT) } })

        </div>

		<!--净重(KG)-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.NETWGT)</span> </label>
            @Html.EditorFor(x => x.NETWGT, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.NETWGT) } })

        </div>

		<!--体积(M)-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.CUBE)</span> </label>
            @Html.EditorFor(x => x.CUBE, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.CUBE) } })

        </div>

        <!--备注-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.NOTES) </label>
			@Html.EditorFor(x => x.NOTES, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.NOTES) } })
      
         </div>

        <!--外箱标签-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE3) </label>
			@Html.EditorFor(x => x.LOTTABLE3, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.LOTTABLE3) } })
      
         </div>

		<!--QC数量-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.PQCQTYINSPECTED)</span> </label>
            @Html.EditorFor(x => x.PQCQTYINSPECTED, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.PQCQTYINSPECTED) } })

        </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

		<!--QC不良数-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.PQCQTYREJECTED)</span> </label>
            @Html.EditorFor(x => x.PQCQTYREJECTED, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.PQCQTYREJECTED) } })

        </div>

        <!--QC状态-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.PQCSTATUS) </label>
			@Html.EditorFor(x => x.PQCSTATUS, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.PQCSTATUS) } })
      
         </div>

        <!--QC人员-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.PQCWHO) </label>
			@Html.EditorFor(x => x.PQCWHO, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.PQCWHO) } })
      
         </div>

       <!--QC日期-->
       <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.PQCDATE) </label>
            <div class="input-group">
			  @Html.EditorFor(x => x.PQCDATE, 
                         new { htmlAttributes = new { @class = "form-control datepicker hasDatepicker",
                               placeholder = Html.DisplayNameFor(x => x.PQCDATE ) } })
               <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
			 </div>
         </div>

        <!--入库条件-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.CONDITIONCODE) </label>
			@Html.EditorFor(x => x.CONDITIONCODE, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.CONDITIONCODE) } })
      
         </div>

        <!--目标库位(良品区/不良品区)-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.TOLOC) </label>
			@Html.EditorFor(x => x.TOLOC, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.TOLOC) } })
      
         </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

        <!--目标批号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.TOLOT) </label>
			@Html.EditorFor(x => x.TOLOT, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.TOLOT) } })
      
         </div>

        <!--目标LPN-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.TOLPN) </label>
			@Html.EditorFor(x => x.TOLPN, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.TOLPN) } })
      
         </div>

        <!--外部单行号-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.EXTERNLINENO) </label>
			@Html.EditorFor(x => x.EXTERNLINENO, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.EXTERNLINENO) } })
      
         </div>

        <!--LOTTABLE4-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE4) </label>
			@Html.EditorFor(x => x.LOTTABLE4, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.LOTTABLE4) } })
      
         </div>

        <!--LOTTABLE5-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE5) </label>
			@Html.EditorFor(x => x.LOTTABLE5, new { htmlAttributes = new { @class = "form-control", placeholder = Html.DisplayNameFor(x => x.LOTTABLE5) } })
      
         </div>

		<!--LOTTABLE6-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE6) </label>
            @Html.EditorFor(x => x.LOTTABLE6, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.LOTTABLE6) } })

        </div>
	   </div>
    </div>
 <div class="form-group form-group-sm">
      <div class="row">

		<!--LOTTABLE7-->
        <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE7) </label>
            @Html.EditorFor(x => x.LOTTABLE7, new { htmlAttributes = new { @class = "form-control",@type="number", placeholder = Html.DisplayNameFor(x => x.LOTTABLE7) } })

        </div>

       <!--LOTTABLE7-->
       <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label">@Html.DisplayNameFor(model => model.LOTTABLE8) </label>
            <div class="input-group">
			  @Html.EditorFor(x => x.LOTTABLE8, 
                         new { htmlAttributes = new { @class = "form-control datepicker hasDatepicker",
                               placeholder = Html.DisplayNameFor(x => x.LOTTABLE8 ) } })
               <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
			 </div>
         </div>

     
       <!--收货单ID-->
       <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2">
            <label class="control-label"><span class="required">@Html.DisplayNameFor(model => model.RECEIPTID)</span> </label>
   	        @Html.DropDownListFor(model => model.RECEIPTID, ViewBag.RECEIPTID as List<SelectListItem>, htmlAttributes: new { @class = "form-control" }) 
       </div>
	    
   </div>
  </div>
</fieldset>
</form>
<!-- end receiptdetail form  -->
</div>

<!-- end master section -->
<!--========================================================================================-->

